package com.maxd.modules.antPlant.api.resp;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author mengshx
 * datetime 2024-04-28 16:37
 **/
@Getter
@Setter
public class ZhoubyhOrderQueryResp {
        @JsonProperty("message")
        private String message;
        @JsonProperty("status_code")
        private Integer statusCode;
        private Data data;
        @Getter
        @Setter
        public static class Data{
            @JsonProperty("finish")
            private Boolean finish;
            @JsonProperty("list")
            private List<ListItem> list;
            @Getter
            @Setter
            public static class ListItem{
                @JsonProperty("uid")
                private String uid;
                @JsonProperty("orderid")
                private String orderid;
                @JsonProperty("goods_id")
                private String goodsId;
                @JsonProperty("goods_childid")
                private String goodsChildid;
                @JsonProperty("goods_img")
                private String goodsImg;
                @JsonProperty("locationId")
                private Integer locationid;
                @JsonProperty("city")
                private String city;
                @JsonProperty("goods_name")
                private String goodsName;
                @JsonProperty("item_name")
                private String itemName;
                @JsonProperty("travelDate")
                private String traveldate;
                @JsonProperty("validBeginDate")
                private Integer validbegindate;
                @JsonProperty("validEndDate")
                private Integer validenddate;
                @JsonProperty("idCard")
                private String idcard;
                @JsonProperty("customerName")
                private String customername;
                @JsonProperty("phone")
                private String phone;
                @JsonProperty("address")
                private String address;
                @JsonProperty("memo")
                private String memo;
                @JsonProperty("goodsCount")
                private Integer goodscount;
                @JsonProperty("status")
                private Integer status;
                @JsonProperty("statusstr")
                private String statusstr;
                @JsonProperty("payprice")
                private Integer payprice;
                @JsonProperty("commission")
                private Integer commission;
                @JsonProperty("returnpayprice")
                private Integer returnpayprice;
                @JsonProperty("closetime")
                private Integer closetime;
                @JsonProperty("closetxt")
                private String closetxt;
                @JsonProperty("createdtime")
                private Integer createdtime;
                @JsonProperty("updatedtime")
                private Integer updatedtime;
                @JsonProperty("isbalance")
                private Integer isbalance;
            }
            @JsonProperty("total")
            private Integer total;
        }
    }
